<!DOCTYPE html>
<html>
<head>
<title>Welcome to PostgREST Starter Kit!</title>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css'>
<style>
    body {
        width: 35em;
        margin: 0 auto;
    }
</style>
<script>
    function onLoad(){
        var n = document.getElementsByClassName('location')
        for (var i = 0; i < n.length; i++) {
            n[i].innerHTML = window.location;
        }
    }
</script>
</head>
<body onload="onLoad()">
    <h1>PostgREST Starter Kit!</h1>

    <p>Your API is up and running.</p>

    <h2>API Endpoints</h2>
    <ul>
        <li><span class="location"></span>rest/</li>
    </ul>


    <h2>Explore</h2>
    <code>curl <span class="location"></span>rest/todos?select=id,todo</code>

    <h2>Support and Documentation</h2>
    <ul>
    <li><a href="http://docs.subzero.cloud">subZero Documentation</a></li>
    <li><a href="https://postgrest.com/en/stable/api.html">PostgREST API Referance</a></li>
    <li><a href="https://www.postgresql.org/docs/current/static/index.html">PostgreSQL Manual</a></li>
    <li><a href="https://slack.subzero.cloud/">Slack</a> — Get help, share ideas and feedback</li>
    <li><a href="https://github.com/subzerocloud/postgrest-starter-kit/issues">GitHub Issues</a> — Check open issues, send feature requests</li>
    </ul>

    Developed by <a href="https://subzero.cloud">subZero</a>
</body>
</html>
